You are here: AgileShapes > MOSS > New Library

New Library

This AgileShape can be used to automatically create a new document library under an existing SharePoint team site.

 

NOTE: This AgileShape is a specialized sub-type of the AgilePart AgileShape. Refer to the documentation for the AgilePart AgileShape for additional information about the properties and behavior that this sub-type inherits from the AgilePart AgileShape.

 

Design-Time Properties

NOTE: Since this AgileShape is a specialized sub-type of the AgilePart AgileShape, all of the standard properties supported by the AgilePart AgileShape are also supported by this AgileShape. Since they are already documented elsewhere, the standard AgilePart properties are not documented in this section. Refer to the documentation for the AgilePart AgileShape for information about the standard AgilePart properties. Additional design-time properties (other than the standard AgilePart properties) that are specific to this AgileShape are documented below.

 

DocumentLibraryName

This property specifies the name for the new document library.

 

DocumentTemplate

This property specifies the SharePoint Document Template that should be associated with the new document library. The valid values for this property are the same as the values listed in the “New Document Library” page (displayed when manually creating a new document library in SharePoint). The portion of the “New Document Library” page that lists the available values is shown below.

 

 

To make the AgileShape create a new document library for Microsoft Word documents, you would use the following value: Microsoft Office Word document

 

ListTemplate

Default value: STS

This property specifies the name of the SharePoint List template that will be used to create the new document library. This property can be set to the name of any SharePoint List template. Some common values are listed below:

 

OverWriteDocLib

Default value: False

This property specifies whether the AgileShape should overwrite the existing document library if one already exists at the location where the new library will be created. This property can be set to the following specific values:

 

SiteURL

This property specifies the URL of the SharePoint site that the document library should be created under.

 

E.g. http://MachineName:Port/sites/SiteName \